package com.bjwl.modules.common.service;

import com.bjwl.modules.common.pojo.FileInfoDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface FileManger {
    FileInfoDTO fileSave(MultipartFile file);
    void getFile(String filename, HttpServletRequest request, HttpServletResponse response) throws IOException;
}
